package com.compus_help.entity.VO;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class OrderPageVO {
    /**
     * 订单ID（主键）
     */
    private Integer orderId;

    /**
     * 订单状态
     */
    private String status;

    /**
     * 分类ID
     */
    private Integer categoryId;

    /**
     * 取消原因
     */
    private String cancelReason;

    /**
     * 取消时间
     */
    private LocalDateTime cancelTime;

    /**
     * 发布用户ID
     */
    private Integer publisherId;

    /**
     * 接单用户ID
     */
    private Integer acceptorId;

    /**
     * 发布时间
     */
    private LocalDateTime publishTime;

    /**
     * 支付状态
     */
    private String paymentStatus;

    /**
     * 支付方式
     */
    private String paymentMethod;

    /**
     * 订单底价
     */
    private BigDecimal basePrice;

    /**
     * 打赏金额
     */
    private BigDecimal rewardPrice;

    /**
     * 备注
     */
    private String note;

    /**
     * 收货地址ID
     */
    private Integer addressId;

    /**
     * 完成码
     */
    private String completionCode;
}
